IApi.GetModuleConfiguration method

Gets the information of the configured device.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsReturn<ModuleConfiguration> GetModuleConfiguration(
       int ConfigurationIndex
)
Function GetModuleConfiguration(
       ConfigurationIndex As Integer
) As KsReturn(Of ModuleConfiguration)

Parameters

ConfigurationIndex

Type: int

The index of the configured device.

Return value

Type: KsReturn<ModuleConfiguration>

Returns a KsError code and a ModuleConfiguration value.

Usable EtherCAT states

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

Examples

C#
N/A

See also

IApi Interface

IntervalZero.KINGSTAR.Base.Api Namespace